package com.hkts.naturalgas.workovertime.mapper;

import com.hkts.naturalgas.utils.Result;
import com.hkts.naturalgas.workovertime.VO.HkOvertimeByPageVo;
import com.hkts.naturalgas.workovertime.VO.HkOvertimeInfoNameAndUserNickVo;
import com.hkts.naturalgas.workovertime.entity.HkOvertimeDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author hml
 * @since 2023-08-31
 */
@Mapper
public interface HkOvertimeDetailMapper extends BaseMapper<HkOvertimeDetail> {
    void updateOvertimeDetailByProcessInstanceId(HkOvertimeDetail hkOvertimeDetail);
    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeInfoAndUserNickNameByProIds(List<String> ids);

    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeInfoAndUserNickNameByHkOvertimeByPageVo(HkOvertimeByPageVo hkOvertimeByPageVo);
    Integer getHkOvertimeInfoAndUserNickNameByCount(HkOvertimeByPageVo hkOvertimeByPageVo);
    HkOvertimeInfoNameAndUserNickVo getHkOvertimeInfoByProcessId(String processId);
}
